﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;
using DTO;


namespace DAO
{
    public class LichChieuDAO
    {
        DataProvider dp = new DataProvider();
        public DataTable LayDanhSachLichChieu()
        {
            return dp.SqlExcuteQuery("LayDanhSachLichChieu ");
        }
        public DataTable LayDanhSachCaChieu()
        {
            return dp.SqlExcuteQuery("LayDanhSachMaCaChieu");
        }
        public DataTable DanhSachTimKiem(string tuKhoa)
        {
            SqlParameter param = new SqlParameter("@tuKhoa",tuKhoa);
            return dp.SqlExcuteQuery("TimKiem", param);
        }

    }
}
